//
//  HBAlbumModel.h
//  HBPhotoPicker
//
//  Created by hibo on 2019/5/20.
//  Copyright © 2019 hibo. All rights reserved.
//

//pragma mark - 相册分类 全部、风景、收藏等
#import <Foundation/Foundation.h>
#import <Photos/Photos.h>

NS_ASSUME_NONNULL_BEGIN

@interface HBAlbumModel : NSObject
//获取胶卷相册某一分类
@property (nonatomic,strong)PHAssetCollection *collection;
//获取相册中的第一张相片作为封面
@property (nonatomic,strong)PHAsset *coverAsset;
//该相册所有相片
@property (nonatomic, strong) PHFetchResult<PHAsset *> *assetList;
//相册名称
@property (nonatomic,strong)NSString *title;
//相册中相片总数
@property (nonatomic,assign)NSInteger number;
//选择的最大可选数量,默认9张
@property (nonatomic, assign) NSInteger maxCount;
//相册中相片选中的数量
@property (nonatomic,strong)NSMutableArray<NSNumber *> *selectRows;

@end

NS_ASSUME_NONNULL_END
